package com.qcq.springcloud.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ：qcq
 * @date ：Created in 2020/11/27 20:02
 * @description：
 */
@Configuration
@EnableFeignClients(basePackages = "com.qcq.springcloud.clients")
public class FeignConfig {
    @Bean
    Logger.Level feignLoggerLevel() {
        return Logger.Level.FULL;//记录所有请求和响应的明细，包括头信息、请求体、元数据。
    }
}
